import request from '@/utils/request';

/**
 *获取业务规则配置-基础规则配置
 */
export async function getBaseRuleInfo() {
    return request('/api/oa/v1/work/task/business_base_rule/base_rule_info', {
        method: 'GET'
    });
}

/**
 *保存业务规则配置-基础规则配置
 */
export async function saveBaseRuleInfo(params) {
    return request('/api/oa/v1/work/task/business_base_rule/save_base_rule', {
        method: 'POST',
        data: params
    });
}
